<template>
    <div>
        <table class="wq text-center" border="0" cellpadding="0" cellspacing="1">
            <tr class="t_list_caption">
                <td colspan="12">正码</td>
            </tr>
            <tr class="t_td_text">
                <td width="10%" class="caption_1"><span class="b01"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:1']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:1']" @focus="quickbetFuns($event,'正码:正码:1')"></td>
                <td width="10%" class="caption_1"><span class="b21"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:21']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:21']" @focus="quickbetFuns($event,'正码:正码:21')"></td>
                <td width="10%" class="caption_1"><span class="b41"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:41']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:41']" @focus="quickbetFuns($event,'正码:正码:41')"></td>
                <td width="10%" class="caption_1"><span class="b61"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:61']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:61']" @focus="quickbetFuns($event,'正码:正码:61')"></td>
            </tr>
            <tr class="t_td_text">
                <td width="10%" class="caption_1"><span class="b02"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:2']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:2']" @focus="quickbetFuns($event,'正码:正码:2')"></td>
                <td width="10%" class="caption_1"><span class="b22"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:22']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:22']" @focus="quickbetFuns($event,'正码:正码:22')"></td>
                <td width="10%" class="caption_1"><span class="b42"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:42']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:42']" @focus="quickbetFuns($event,'正码:正码:42')"></td>
                <td width="10%" class="caption_1"><span class="b62"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:62']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:62']" @focus="quickbetFuns($event,'正码:正码:62')"></td>
            </tr>
            <tr class="t_td_text">
                <td width="10%" class="caption_1"><span class="b03"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:3']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:3']" @focus="quickbetFuns($event,'正码:正码:3')"></td>
                <td width="10%" class="caption_1"><span class="b23"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:23']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:23']" @focus="quickbetFuns($event,'正码:正码:23')"></td>
                <td width="10%" class="caption_1"><span class="b43"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:43']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:43']" @focus="quickbetFuns($event,'正码:正码:43')"></td>
                <td width="10%" class="caption_1"><span class="b63"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:63']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:63']" @focus="quickbetFuns($event,'正码:正码:63')"></td>
            </tr>
            <tr class="t_td_text">
                <td width="10%" class="caption_1"><span class="b04"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:4']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:4']" @focus="quickbetFuns($event,'正码:正码:4')"></td>
                <td width="10%" class="caption_1"><span class="b24"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:24']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:24']" @focus="quickbetFuns($event,'正码:正码:24')"></td>
                <td width="10%" class="caption_1"><span class="b44"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:44']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:44']" @focus="quickbetFuns($event,'正码:正码:44')"></td>
                <td width="10%" class="caption_1"><span class="b64"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:64']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:64']" @focus="quickbetFuns($event,'正码:正码:64')"></td>
            </tr>
            <tr class="t_td_text">
                <td width="10%" class="caption_1"><span class="b05"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:5']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:5']" @focus="quickbetFuns($event,'正码:正码:5')"></td>
                <td width="10%" class="caption_1"><span class="b25"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:25']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:25']" @focus="quickbetFuns($event,'正码:正码:25')"></td>
                <td width="10%" class="caption_1"><span class="b45"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:45']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:45']" @focus="quickbetFuns($event,'正码:正码:45')"></td>
                <td width="10%" class="caption_1"><span class="b65"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:65']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:65']" @focus="quickbetFuns($event,'正码:正码:65')"></td>
            </tr>
            <tr class="t_td_text">
                <td width="10%" class="caption_1"><span class="b06"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:6']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:6']" @focus="quickbetFuns($event,'正码:正码:6')"></td>
                <td width="10%" class="caption_1"><span class="b26"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:26']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:26']" @focus="quickbetFuns($event,'正码:正码:26')"></td>
                <td width="10%" class="caption_1"><span class="b46"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:46']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:46']" @focus="quickbetFuns($event,'正码:正码:46')"></td>
                <td width="10%" class="caption_1"><span class="b66"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:66']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:66']" @focus="quickbetFuns($event,'正码:正码:66')"></td>
            </tr>
            <tr class="t_td_text">
                <td width="10%" class="caption_1"><span class="b07"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:7']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:7']" @focus="quickbetFuns($event,'正码:正码:7')"></td>
                <td width="10%" class="caption_1"><span class="b27"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:27']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:27']" @focus="quickbetFuns($event,'正码:正码:27')"></td>
                <td width="10%" class="caption_1"><span class="b47"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:47']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:47']" @focus="quickbetFuns($event,'正码:正码:47')"></td>
                <td width="10%" class="caption_1"><span class="b67"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:67']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:67']" @focus="quickbetFuns($event,'正码:正码:67')"></td>
            </tr>
            <tr class="t_td_text">
                <td width="10%" class="caption_1"><span class="b08"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:8']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:8']" @focus="quickbetFuns($event,'正码:正码:8')"></td>
                <td width="10%" class="caption_1"><span class="b28"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:28']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:28']" @focus="quickbetFuns($event,'正码:正码:28')"></td>
                <td width="10%" class="caption_1"><span class="b48"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:48']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:48']" @focus="quickbetFuns($event,'正码:正码:48')"></td>
                <td width="10%" class="caption_1"><span class="b68"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:68']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:68']" @focus="quickbetFuns($event,'正码:正码:68')"></td>
            </tr>
            <tr class="t_td_text">
                <td width="10%" class="caption_1"><span class="b09"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:9']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:9']" @focus="quickbetFuns($event,'正码:正码:9')"></td>
                <td width="10%" class="caption_1"><span class="b29"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:29']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:29']" @focus="quickbetFuns($event,'正码:正码:29')"></td>
                <td width="10%" class="caption_1"><span class="b49"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:49']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:49']" @focus="quickbetFuns($event,'正码:正码:49')"></td>
                <td width="10%" class="caption_1"><span class="b69"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:69']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:69']" @focus="quickbetFuns($event,'正码:正码:69')"></td>
            </tr>
            <tr class="t_td_text">
                <td width="10%" class="caption_1"><span class="b10"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:10']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:10']" @focus="quickbetFuns($event,'正码:正码:10')"></td>
                <td width="10%" class="caption_1"><span class="b30"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:30']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:30']" @focus="quickbetFuns($event,'正码:正码:30')"></td>
                <td width="10%" class="caption_1"><span class="b50"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:50']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:50']" @focus="quickbetFuns($event,'正码:正码:50')"></td>
                <td width="10%" class="caption_1"><span class="b70"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:70']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:70']" @focus="quickbetFuns($event,'正码:正码:70')"></td>
            </tr>
            <tr class="t_td_text">
                <td width="10%" class="caption_1"><span class="b11"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:11']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:11']" @focus="quickbetFuns($event,'正码:正码:11')"></td>
                <td width="10%" class="caption_1"><span class="b31"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:31']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:31']" @focus="quickbetFuns($event,'正码:正码:31')"></td>
                <td width="10%" class="caption_1"><span class="b51"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:51']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:51']" @focus="quickbetFuns($event,'正码:正码:51')"></td>
                <td width="10%" class="caption_1"><span class="b71"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:71']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:71']" @focus="quickbetFuns($event,'正码:正码:71')"></td>
            </tr>
            <tr class="t_td_text">
                <td width="10%" class="caption_1"><span class="b12"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:12']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:12']" @focus="quickbetFuns($event,'正码:正码:12')"></td>
                <td width="10%" class="caption_1"><span class="b32"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:32']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:32']" @focus="quickbetFuns($event,'正码:正码:32')"></td>
                <td width="10%" class="caption_1"><span class="b52"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:52']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:52']" @focus="quickbetFuns($event,'正码:正码:52')"></td>
                <td width="10%" class="caption_1"><span class="b72"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:72']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:72']" @focus="quickbetFuns($event,'正码:正码:72')"></td>
            </tr>
            <tr class="t_td_text">
                <td width="10%" class="caption_1"><span class="b13"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:13']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:13']" @focus="quickbetFuns($event,'正码:正码:13')"></td>
                <td width="10%" class="caption_1"><span class="b33"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:33']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:33']" @focus="quickbetFuns($event,'正码:正码:33')"></td>
                <td width="10%" class="caption_1"><span class="b53"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:53']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:53']" @focus="quickbetFuns($event,'正码:正码:53')"></td>
                <td width="10%" class="caption_1"><span class="b73"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:73']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:73']" @focus="quickbetFuns($event,'正码:正码:73')"></td>
            </tr>
            <tr class="t_td_text">
                <td width="10%" class="caption_1"><span class="b14"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:14']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:14']" @focus="quickbetFuns($event,'正码:正码:14')"></td>
                <td width="10%" class="caption_1"><span class="b34"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:34']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:34']" @focus="quickbetFuns($event,'正码:正码:34')"></td>
                <td width="10%" class="caption_1"><span class="b54"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:54']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:54']" @focus="quickbetFuns($event,'正码:正码:54')"></td>
                <td width="10%" class="caption_1"><span class="b74"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:74']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:74']" @focus="quickbetFuns($event,'正码:正码:74')"></td>
            </tr>
            <tr class="t_td_text">
                <td width="10%" class="caption_1"><span class="b15"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:15']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:15']" @focus="quickbetFuns($event,'正码:正码:15')"></td>
                <td width="10%" class="caption_1"><span class="b35"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:35']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:35']" @focus="quickbetFuns($event,'正码:正码:35')"></td>
                <td width="10%" class="caption_1"><span class="b55"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:55']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:55']" @focus="quickbetFuns($event,'正码:正码:55')"></td>
                <td width="10%" class="caption_1"><span class="b75"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:75']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:75']" @focus="quickbetFuns($event,'正码:正码:75')"></td>
            </tr>
            <tr class="t_td_text">
                <td width="10%" class="caption_1"><span class="b16"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:16']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:16']" @focus="quickbetFuns($event,'正码:正码:16')"></td>
                <td width="10%" class="caption_1"><span class="b36"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:36']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:36']" @focus="quickbetFuns($event,'正码:正码:36')"></td>
                <td width="10%" class="caption_1"><span class="b56"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:56']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:56']" @focus="quickbetFuns($event,'正码:正码:56')"></td>
                <td width="10%" class="caption_1"><span class="b76"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:76']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:76']" @focus="quickbetFuns($event,'正码:正码:76')"></td>
            </tr>
            <tr class="t_td_text">
                <td width="10%" class="caption_1"><span class="b17"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:17']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:17']" @focus="quickbetFuns($event,'正码:正码:17')"></td>
                <td width="10%" class="caption_1"><span class="b37"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:37']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:37']" @focus="quickbetFuns($event,'正码:正码:37')"></td>
                <td width="10%" class="caption_1"><span class="b57"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:57']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:57']" @focus="quickbetFuns($event,'正码:正码:57')"></td>
                <td width="10%" class="caption_1"><span class="b77"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:77']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:77']" @focus="quickbetFuns($event,'正码:正码:77')"></td>
            </tr>
            <tr class="t_td_text">
                <td width="10%" class="caption_1"><span class="b18"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:18']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:18']" @focus="quickbetFuns($event,'正码:正码:18')"></td>
                <td width="10%" class="caption_1"><span class="b38"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:38']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:38']" @focus="quickbetFuns($event,'正码:正码:38')"></td>
                <td width="10%" class="caption_1"><span class="b58"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:58']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:58']" @focus="quickbetFuns($event,'正码:正码:58')"></td>
                <td width="10%" class="caption_1"><span class="b78"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:78']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:78']" @focus="quickbetFuns($event,'正码:正码:78')"></td>
            </tr>
            <tr class="t_td_text">
                <td width="10%" class="caption_1"><span class="b19"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:19']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:19']" @focus="quickbetFuns($event,'正码:正码:19')"></td>
                <td width="10%" class="caption_1"><span class="b39"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:39']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:39']" @focus="quickbetFuns($event,'正码:正码:39')"></td>
                <td width="10%" class="caption_1"><span class="b59"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:59']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:59']" @focus="quickbetFuns($event,'正码:正码:59')"></td>
                <td width="10%" class="caption_1"><span class="b79"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:79']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:79']" @focus="quickbetFuns($event,'正码:正码:79')"></td>
            </tr>
            <tr class="t_td_text">
                <td width="10%" class="caption_1"><span class="b20"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:20']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:20']" @focus="quickbetFuns($event,'正码:正码:20')"></td>
                <td width="10%" class="caption_1"><span class="b40"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:40']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:40']" @focus="quickbetFuns($event,'正码:正码:40')"></td>
                <td width="10%" class="caption_1"><span class="b60"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:60']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:60']" @focus="quickbetFuns($event,'正码:正码:60')"></td>
                <td width="10%" class="caption_1"><span class="b80"></span></td>
                <td class="colorRed bolds odds">{{ratedata['正码:正码:80']}}</td>
                <td><input type="text" class="moneyinp" v-model="moneydata['正码:正码:80']" @focus="quickbetFuns($event,'正码:正码:80')"></td>
            </tr>
        </table>

    </div>
</template>
<script>

    var timer = null;

    import axios from 'axios'
    import {lotterytype} from '../../../../assets/js/lotterytype.js'

    export default {
        name: "BjklPositive",
        props: {  //普通类型：String、Number、Boolean、Null    引用类型： Array、Object
            betmoney: {   //   下注金额
                type: String,
                required: true
            },
            resetinp: {   //   是否重填已下注金额  0为未下注  其他为已下注
                type: Number,
                required: true
            },
            openBet: {  //开奖  可下注
                type: Boolean,
                required: true
            },
            ninetime: {  //90s
                type: Number,
                required: true
            },
        },
        data(){
            return{
                ratedata: {},  //实时赔率
                params: {},  //菜单
                moneydata: {},
                betdataArr: [],  //下注 提交data
                nowitem: '',  //当前操作的下注item号
                arr: [],  //已下注的item  一维数组
            }
        },
        methods: {
            init(){
                // console.log(this.$route.query.levelid);
                var _this = this;

                this.params = lotterytype.apiParams(this.$route.query.id,this.$route.query.levelid);
                
                if(window.localStorage.Authorization){
                    
                    _this.$httpGet('/api/game/listRate/'+ _this.params.nowlottery + '/' + _this.params.levellottery +'1oa18').then(response => {
                        
                        if(response.status == 200){
                            _this.ratedata = response.data.rates;

                            if(response.data.need){

                                _this.$httpPost('/api/setting/rateItem/'+ _this.params.nowlottery + '/' + _this.params.levellottery +'1oa18').then(response => {
                                
                                    if(response.status == 200){
                                        
                                    }

                                });
                                
                            }
                        }

                    });

                }

            },
            inits(){
                // console.log(this.$route.query.levelid);
                var _this = this;

                this.params = lotterytype.apiParams(this.$route.query.id,this.$route.query.levelid);
                
                if(window.localStorage.Authorization){
                    
                    if (timer) {
                        clearInterval(timer);
                        timer = null;
                    }

                    _this.$httpGet('/api/game/listRate/'+ _this.params.nowlottery + '/' + _this.params.levellottery +'1oa18').then(response => {
                        
                        if(response.status == 200){
                            _this.ratedata = response.data.rates;

                            if(response.data.need){

                                _this.$httpPost('/api/setting/rateItem/'+ _this.params.nowlottery + '/' + _this.params.levellottery +'1oa18').then(response => {
                                
                                    if(response.status == 200){
                                        
                                    }

                                });
                                
                            }
                            timer = setInterval(() => {
                                _this.inits();
                            }, 10 * 1000)
                        }

                    });

                }

            },
            //快捷下注
            quickbetFuns(ev,item,odds){
                var _this = this;
                if(_this.betmoney){

                    // Vue.set方法用来新增对象的属性。
                    _this.$set(_this.moneydata, item, _this.betmoney);
                    
                }
                _this.nowitem = item;
                
            },
            
        },
        mounted(){
            this.inits();
        },
        beforeDestroy(){
            clearInterval(timer);
        },
        watch :{
            resetinp: function(now,old){

                if(now != 0){   //重填下注金额

                    this.moneydata = {};  //清空所有下注金额
                    this.betdataArr = [];
                    this.arr = [];
                    
                }
            },
            moneydata: {
                
                //注意：当观察的数据为对象或数组时，curVal和oldVal是相等的，因为这两个形参指向的是同一个数据对象
　　　　　　　　　handler(newValue, oldValue) {

                    var _this = this;
        　　　　　　console.log(newValue[_this.nowitem],newValue,this.nowitem)

                    if(newValue[_this.nowitem] != '' && newValue[_this.nowitem] != '0' && newValue[_this.nowitem] != undefined){

                        if (_this.arr.indexOf(_this.nowitem) == -1) {
                            _this.arr.push(_this.nowitem);
                            _this.betdataArr.push({'item': _this.nowitem,'value': newValue[_this.nowitem],'balls': []});
                        } else {
                            for(var i=0;i<_this.betdataArr.length;i++){

                                if(_this.nowitem == _this.betdataArr[i].item){
                                    _this.betdataArr[i].value= newValue[_this.nowitem];
                                }
                            }
                        }


                    }else{  //当前改变值为空

                        for(var i=0;i<_this.betdataArr.length;i++){

                            if(_this.betdataArr[i].item == _this.nowitem){
                                _this.betdataArr.splice(i,1);
                            }

                        }

                    }

                    var betdataObj = {};
                    betdataObj.game = _this.params.nowlottery;
                    betdataObj.items = _this.betdataArr;
                    
                    if(_this.betdataArr.length == 0){
                        _this.$emit('betdataObj',{});
                    }else{
                        _this.$emit('betdataObj',betdataObj);
                    }
                    // console.log('------watch',betdataObj);

        　　　　 },
        　　　　 deep: true
            },
            openBet: function(now,old){
                // console.log(now,old);
                this.init();
            },
            ninetime: function(now,old){
                console.log('------------90s  刷新');
                //90s  刷新数据
                this.init();
            },
        },
    }
</script>
